﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GameEngine.Worlds
{
    public class Unit : Accelerator, ITick
    {
        Walker walker;

        public Unit()
        {
            walker = new Walker(this);
            Forces.Add(walker);
        }

        public Walker Walker
        {
            get
            {
                return walker;
            }
            set
            {
                walker = value;
            }
        }

        #region ITick Members

        public new void Tick(float seconds)
        {
            walker.Tick(seconds);
            base.Tick(seconds);
        }

        #endregion
    }
}
